x86/HPET: use dynamic allocation for hpet_events[]
authorJan Beulich <jbeulich@novell.com>
Sat, 12 Mar 2011 13:20:11 +0000 (13:20 +0000)
committerJan Beulich <jbeulich@novell.com>
Sat, 12 Mar 2011 13:20:11 +0000 (13:20 +0000)
commita03ac7d945f06fa65eb474ba570c253caf9f7567
tree9b8b838669d18728d2cd4a36a01ff5ffd14e204a
parentb927089900d45335c861e49cfb4e66a8d8c8ccea
x86/HPET: use dynamic allocation for hpet_events[]

Typically there are far less than 32 counters available, and hence
there's no use in wasting the memory on (almost) every system.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hpet.c